package com.novel.common.event;

import lombok.Data;
import org.springframework.context.ApplicationEvent;


public class UserRecommendEvent extends ApplicationEvent {

    private UserRecommendPojo recommendPojo;

    public UserRecommendEvent(Object source, UserRecommendPojo recommendPojo) {
        super(source);
        this.recommendPojo = recommendPojo;
    }

    public UserRecommendPojo getRecommendPojo() {
        return recommendPojo;
    }

    public UserRecommendEvent(Object source) {
        super(source);
    }

}